﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UITesting.WinControls;
using Microsoft.VisualStudio.TestTools.UITesting;

namespace TestProject
{
    // [GeneratedCode("Coded UITest Builder", "10.0.40219.1")]
    public class StatusMenuItem : WinMenu
    {
        public StatusMenuItem(UITestControl searchLimitContainer) :
            base(searchLimitContainer)
        {
            #region Search Criteria
            // this.SearchProperties[WinWindow.PropertyNames.AccessibleName] = "Context";
            // this.SearchProperties[WinWindow.PropertyNames.ClassName] = "#32768";
            #endregion
        }

        #region Properties
        public WinMenuItem UIAppearofflineMenuItem
        {
            get
            {
                if ((this.mUIAppearofflineMenuItem == null))
                {
                    this.mUIAppearofflineMenuItem = new WinMenuItem(this);
                    #region Search Criteria
                    this.mUIAppearofflineMenuItem.SearchProperties[WinMenuItem.PropertyNames.Name] = MSN.ConstVariable.OFFLINE;// "Appear offline";
                    #endregion
                }
                return this.mUIAppearofflineMenuItem;
            }
        }
        #endregion

        #region Fields
        private WinMenuItem mUIAppearofflineMenuItem;
        #endregion
    }
}
